namespace Apps.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("V_S_MAKESAMPLE_RL")]
    public partial class V_S_MAKESAMPLE_RL
    {
        [Key]
        [StringLength(40)]
        public string MAKE_ID { get; set; }

        [StringLength(40)]
        public string MAKE_CODE { get; set; }

        public int? SAMPLE_TYPE { get; set; }

        [StringLength(6)]
        public string SAMPLE_TYPE_STR { get; set; }

        [StringLength(40)]
        public string BATCH_CODE { get; set; }

        public decimal? MAKE_WEIGHT { get; set; }

        [StringLength(40)]
        public string P_USER_ID { get; set; }

        [StringLength(200)]
        public string P_USER_NAME { get; set; }

        public DateTime? P_TIME { get; set; }

        public bool? STATUS { get; set; }

        [StringLength(6)]
        public string STATUS_STR { get; set; }

        [StringLength(40)]
        public string MAKE_USER_ID { get; set; }

        [StringLength(200)]
        public string MAKE_USER_NAME { get; set; }

        public int? MAKE_MODE { get; set; }

        [StringLength(4)]
        public string MAKE_MODE_STR { get; set; }

        [StringLength(32)]
        public string EQUIPMENT_ID { get; set; }

        [StringLength(50)]
        public string EQUIPMENT_NAME { get; set; }

        public DateTime? BEGIN_TIME { get; set; }

        public DateTime? END_TIME { get; set; }

        [StringLength(40)]
        public string TEAM_ID { get; set; }

        [StringLength(50)]
        public string TEAM_NAME { get; set; }

        [StringLength(40)]
        public string CREW_ID { get; set; }

        [StringLength(50)]
        public string CREW_NAME { get; set; }
    }
}
